package com.gobo.jinghuimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gobo.common.utils.PageUtils;
import com.gobo.jinghuimall.product.entity.AttrEntity;
import com.gobo.jinghuimall.product.vo.AttrRespon;
import com.gobo.jinghuimall.product.vo.AttrVo;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author guanbo
 * @email gobostart@163.com
 * @date 2021-10-17 19:19:47
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttrVo(AttrVo attrVo);

    PageUtils queryPage(Map<String, Object> params, Long catelogId,String attrType);
    PageUtils getNoAttrRelationAttr(Long attrgroupId, Map<String, Object> params);
    AttrRespon getAttrInfo(Long attrId);
    void updateAttrVo(AttrVo attrVo);

    List<Long> selectSearchAttrs(List<Long> attrIds);
}

